Handle.this

Loads the SVG specified by @data. Note that this function creates an [class@Rsvg.Handle] without a base URL, and without any [flags@Rsvg.HandleFlags]. If you need these, use [ctor@Rsvg.Handle.new_from_stream_sync] instead by creating a [class@Gio.MemoryInputStream] from your data.

Parameters

data ubyte[]

The SVG data

Return Value

A [class@Rsvg.Handle] or NULL if an error occurs.

Throws

GException on failure. ConstructionException GTK+ fails to create the object.

Meta

Since

2.14